import {App} from 'vue';

import Input from './packages/input';
import Button from './packages/button';
import Checkbox from './packages/checkbox'
import CheckboxGroup from './packages/checkbox-group'
import Icon from './packages/icon'
import Badge from './packages/badge'

const plugins = [
  Input,
  Button,
  Checkbox,
  CheckboxGroup,
  Icon,
  Badge
]

function install(app: App) {
  plugins.forEach(app.use);
}

export default {
  install
}

export {
  Input,
  Button,
  install,
  Checkbox,
  CheckboxGroup,
  Icon,
  Badge
}
